(function(window){
    var name = "lxy";//闭包私有变量
    function UpperName(){
        console.log("大写名字: ", name.toUpperCase());
    }
    function LowerName(){
        console.log("小写名字: ", name.toLowerCase());
    }

    window.Model2 = {
        upperName: UpperName,
        lowerName: LowerName
    }
})(window)